package com.ijtunes.utils;

/**
 * Types of actions that can occur.
 * @author Michael Sena
 * @version 1.0
 * @date 02/07/2010
 */
public enum Action {
    ADDED("added", "Added"),
    ORGANISED("organise", "Organised"),
    DELETED("deleted", "Deleted"),
    MISSING("missing", "Missing"),
    PLAYCOUNT_SYNCED("playcount", "Playcount Sync'ed"),
    GENRE_TAGGED("tag", "Genre Tagged");
    
    private Action(String actionName, String actionSummaryName) {
        name = actionName;
        summaryName = actionSummaryName;
    }
    
    @Override
    public String toString() {
        return name;
    }
    
    public String getSummaryName() {
        return summaryName;
    }
    
    private String name = null;
    private String summaryName = null;
}
